<?php

class Application_Model_DbTable_Khohang extends Zend_Db_Table_Abstract
{

    protected $_name = 'tbl_carts';

    protected $_primary = 'id_sp';
    
    protected $_referenceMap = array(
            'columns'=>'id_sp',
            'refTableClass'=>'Application_Model_DbTable_Sanpham',
            'refColumns'=>'id',
            'onDelete' => self::CASCADE,
            'onUpdate' => self::RESTRICT
    );
}

